Skip to content

Conversation

@Youssef1313
Copy link
Member

Motivation and Context

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings November 17, 2025 09:51
@github-actions github-actions bot changed the title Update to .NET 10 SDK .NET: Update to .NET 10 SDK Nov 17, 2025
Copilot finished reviewing on behalf of Youssef1313 November 17, 2025 09:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR attempts to update the .NET SDK from version 9.0 to 10.0 by modifying the GitHub workflow configuration. However, the update is incomplete as it only changes the dotnet-format.yml workflow file while leaving other workflow files, project files, and build configuration files still targeting .NET 9.0.

Key changes:

  • Updates the .NET SDK version in the dotnet-format.yml workflow from "9.0" to "10.0"

@Youssef1313 Youssef1313 mentioned this pull request Nov 17, 2025
4 tasks
@DeagleGross
Copy link
Contributor

We already have a PR for .NET10 update: #2128

@Youssef1313
Copy link
Member Author

@DeagleGross Yup, I had a chat with @rogerbarreto about it. The other PR does much more than updating .NET SDK though and I don't know when it will be finalized. So this PR is a subset of the other. If the other PR got merged first, this one can be closed.

@DeagleGross
Copy link
Contributor

DeagleGross commented Nov 17, 2025

This PR does not achieve the target goal (I guess) which is having NuGet packages published with the .NET 10 target.
This PR should at least have changes to the following lines in the Directory.Build.props:

<ProjectsCoreTargetFrameworks>net9.0;net8.0</ProjectsCoreTargetFrameworks>
<ProjectsDebugCoreTargetFrameworks>net9.0</ProjectsDebugCoreTargetFrameworks>
<ProjectsTargetFrameworks>net9.0;net8.0;netstandard2.0;net472</ProjectsTargetFrameworks>

We should focus on taking Stephen's PR I've mentioned (#2128), because it does update all the packages, updates LangVersion, cleanups ifdefs and does many more other useful stuff, which should come all together IMO.

Maybe I am wrong, so not blocking the PR anyway

@javiercn
Copy link
Contributor

I agree with @DeagleGross, I think we should go with #2128

@Youssef1313
Copy link
Member Author

Yes, end goal would be #2128. But it doesn't harm to get this one merged until #2128 is finalized. This PR solely focuses on updating the .NET SDK, not the TFMs.

@stephentoub
Copy link
Member

We should be able to merge #2128 once a build for Ignite is complete, if that hasn't happened already.

Copy link
Contributor

@crickman crickman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Youssef1313 - @stephentoub is driving a comprehensive update that addresses this. I wonder if you'd be able to review and comment on this change: #2128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants